php forum
php mysql forum
php mysql smarty
 
Page 1 of 13 1 2 3 ... 12 13 >
Topic Options
#201520 - 11/25/03 04:25 PM [6.7] [beta] ubb.links v2.5
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Modification Name: ubb.links v2.5 Beta
Author(s): AllenAyres

Description: This mod gives you a basic ubb-integrated links script. New for v2.5: A basic Gossamer-Threads Links 2.0 importer - much thanks go to Ian Spence and Burak thumbsup

Demo: http://www.ubbdev.com/db/cgi/links.cgi

Requirements: 6.7+

Download Link: http://www.ubbdev.com/ubb/upload/00000494/links.zip

Credits: cal and mark for the little bits of hacks.cgi still in the code wink Charles Capps for help and pointers smile LK, Burak, and Ian for bugfixes smile

Instructions / Other Info:
  • Extract
  • Upload (.cgi to your forum cgi directory, the rest to your noncgi folder (keep in the /links/ folder).
  • Set permissions to 755 on the .cgi files and 777 on the /links/ files
  • You can access the admin with this url: /links.cgi?action=admin
  • Set your paths and urls for the importer on line 99-101 in links_importer.cgi before beginning and upload to your ubb cgi directory
  • You can access the importer at /links_importer.cgi


More features are coming, the next one to work out will be adding subcats. Please test and let me know if you see any bugs in the current files.

History: 11/23/2003 - original release
02/09/2004 - Updated for 6.7 with lots of bugfixes and code improvements.
06/24/2004 - updated with bugfixes for categories
06/28/2004 - (v1.6) breadcrumb bugfix and (Go!) links added for category view
06/30/2004 - (v1.7) search engine friendly links added
07/18/2004 - (v1.8.5) Censor check added to add/edit link pages and using ubb-based verification for the same pages smile
07/23/2004 - (v1.8.6) Bugfixes for URL's - thanks Ian
07/25/2004 - (v1.8.8) Bugfixes for SEF and IIS - thanks Ian
07/26/2004 - (v1.8.9) Bugfixes for text color and the double ??
07/26/2004 - (v1.9.1) More bugfixes
07/28/2004 - (v1.9.3) Added the catnumber and usernumber to the link data stored.
08/20/2004 - (v1.9.4) Fixed bug with editing and deleting entries (thanks RoxSeibert)
08/26/2004 - (v1.9.5) Fixed bug with lightbulbs(thanks Ian Spence)
09/06/2004 - ( v1.9.6) Fixed bug with redirect (thanks Ian), fixed dup topten bug (thanks roxy) and added a blank index.html file to /links directory
09/11/2004 - (v2.0.a) Alpha-release of v2. db$id has all been moved to one file - links_data.cgi. The dbcats.cgi file is now links_cats.cgi too. Added the ability to edit the category the link is assigned to. thumbsup
09/18/2004 - (v2.0.b, aka The Wedding Day Release tipsy ) - major bug fixed by Burak (thank you) in picking and choosing the links for each category.
09/30/2004 - (v2.0.g) - features added (thanks to Ian) to allow the user to sort the category page by link name/ added by name, or # of hits. Also cleaned up the top ten code (with major help by Ian) to remove the redundant code since we're now using one file. You can now delete the tenlinks.cgi file. A few buglets remain before 2.0 final.
10/02/2004 - (v2.0 Gold) - bug cleaned up to allow selection of cat name instead of number upon edit when moving link to another category. Major feature added with a lot of help by LK, Charles Capps, and Ian Spence to rebuild the number of links in each category - you'll find a link to do so at the bottom of the admin page. thumbsup
10/05/2004 - (v2.0.1) - buglet fixed with lightbulbs and a bit of code cleanup
01/30/2005 - (v2.5 beta) - A beta version of a gossamer-threads links 2.0 importer added, much thanks goes to Ian Spence and Burak for assitance.

With the release of 2.0 Gold it is moved to 'finished' status and the ubb.classic version supported is 6.7+ (I don't think it'll work out of the box with 6.6 anymore). There's probably a buglet or 3 left, but they're pretty much inconsequential and will be fixed shortly. Future plans include possibly a yahoo-style interface.
_________________________
- Allen wavey
- What Drives You?

Top
#201521 - 11/27/03 11:49 AM Re: [6.7] [beta] ubb.links v2.5
Ed Offline
Member

Registered: 12/24/00
Posts: 77
Requirements: nada
Does this work on 6.30?
_________________________

Top
#201522 - 11/27/03 11:58 AM Re: [6.7] [beta] ubb.links v2.5
Charles Offline

Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
Quote:
quote:
Originally posted by Ed:
Requirements: nada
Does this work on 6.30?
depends if it uses the cookie or not as the password was encrypted in V6.4 otherwise it should work
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#201523 - 11/27/03 12:47 PM Re: [6.7] [beta] ubb.links v2.5
Ed Offline
Member

Registered: 12/24/00
Posts: 77
I get this error when trying to access admin
"Software error:
Undefined subroutine &main::RequireUserLogin called at links.cgi line 619.
For help, please send mail to the webmaster (webmaster@thebiz.net), giving this error message and the time and date of the error. Content-type: text/html"
_________________________

Top
#201524 - 11/28/03 12:35 AM Re: [6.7] [beta] ubb.links v2.5
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hmmm.. you'll probably need to upgrade as this uses several subroutines from newer versions. The requirelogin sub is to ensure only the right people have access to the admin parts.
_________________________
- Allen wavey
- What Drives You?

Top
#201525 - 11/28/03 01:42 AM Re: [6.7] [beta] ubb.links v2.5
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Will this work on 6.6.1?

Edit: it does so far but in the links.cgi files this line;

$DataPath = "$vars_config{NonCGIPath}/uploads";

Should read;

$DataPath = "$vars_config{NonCGIPath}";
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#201526 - 11/28/03 01:55 AM Re: [6.7] [beta] ubb.links v2.5
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
It should, I used 6.6.1 to base it on, tho I tested it on 6.5 (hence the title). smile

I hope to get subcats moving this coming week, so I recommend uploading and testing, but I'm not sure if adding the subcats will mess up current links/categories or not. I'll also work on an alternate style to make it look like google/yahoo, I think, unless this ubb-style grows on me more in the meantime smile

I still wanna move to using as many of the ubb subs already written in the base code as possible - not sure why '$show_logout' won't pull over from public_common, something I am missing...
_________________________
- Allen wavey
- What Drives You?

Top
#201527 - 12/02/03 12:36 PM Re: [6.7] [beta] ubb.links v2.5
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
files updated with a couple bugfixes and some UI consistency issues smile
_________________________
- Allen wavey
- What Drives You?

Top
#201528 - 12/07/03 07:53 PM Re: [6.7] [beta] ubb.links v2.5
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
I tried installing it, but when trying to run /links.cgi?action=admin I figured out it is looking for a vars_wordlets_mods.cgi file that's not there. So, green like I am, I created an empty vars_wordlets_mods.cgi, set permissions to 777 and tried again. Nope! Is the d/l missing this cgi file?

Thanks! Looking forward to trying it out.

Top
#201529 - 12/07/03 08:02 PM Re: [6.7] [beta] ubb.links v2.5
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I'm going to be installing the Wordlets mod this week, don't worry tipsy

Top
#201530 - 12/07/03 08:35 PM Re: [6.7] [beta] ubb.links v2.5
Sky YYZ Offline
Junior Member

Registered: 12/07/03
Posts: 131
Loc: Brantford, ON Canada
okie

Top
#201531 - 12/07/03 10:05 PM Re: [6.7] [beta] ubb.links v2.5
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
check the thread in this forum for the vars_wordlets_mods modification, I'll update the instructions here that it's required smile
_________________________
- Allen wavey
- What Drives You?

Top
#201532 - 02/10/04 11:52 PM Re: [6.7] [beta] ubb.links v2.5
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Files updated for 6.7 with lots of bugfixes and code improvements. lib_links.cgi is no longer needed. To upgrade just upload links.cgi and vars_wordlets_links.cgi.

Subcats are next, they may take me a while smile
_________________________
- Allen wavey
- What Drives You?

Top
#201533 - 02/11/04 07:22 PM Re: [6.7] [beta] ubb.links v2.5
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
I just installed 6.7.

The first modification I installed was Colorforums, and everything seems to be working fine. I next tried your awesome links modification, but I got this message:

"Global symbol "%vars_colorforums" requires explicit package name at ubb_lib.cgi line 2477. BEGIN not safe after errors--compilation aborted at ubb_lib.cgi line 2608.

[Wed Feb 11 19:13:58 2004] links.cgi: Global symbol "%vars_colorforums" requires explicit package name at ubb_lib.cgi line 2477. [Wed Feb 11 19:13:58 2004] links.cgi: BEGIN not safe after errors--compilation aborted at ubb_lib.cgi line 2608. Compilation failed in require at links.cgi line 85."

Is this incompatible with colorforums? Thanks for any help.

Top
#201534 - 02/11/04 07:49 PM Re: [6.7] [beta] ubb.links v2.5
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
In links.cgi

FIND:
Code:
	%vars_wordlets_games %opt
on the next line add

Code:
  %vars_colorforums

Top
#201535 - 02/11/04 08:07 PM Re: [6.7] [beta] ubb.links v2.5
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
Sorry, but now I get:
The server encountered an internal error or misconfiguration and was unable to complete your request.

Top
#201536 - 02/11/04 08:19 PM Re: [6.7] [beta] ubb.links v2.5
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
please post the most recent errors in your server's error log

Top
#201537 - 02/11/04 08:37 PM Re: [6.7] [beta] ubb.links v2.5
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
Premature end of script headers:
script not found or unable to stat:
/vars_wordlets_mods.cgi: Can't locate

Top
#201538 - 02/11/04 08:55 PM Re: [6.7] [beta] ubb.links v2.5
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
I removed

&RequireCode("$vars_config{VariablesPath}/vars_wordlets_mods.cgi");

from your code in links.cgi and I got it to work smile

Top
#201539 - 02/11/04 11:22 PM Re: [6.7] [beta] ubb.links v2.5
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
arghhh... forgot that some people may not have the same mods installed. smash

I updated the zip after going through and removing the extra required files and cleaning up the "use vars" area smile
_________________________
- Allen wavey
- What Drives You?

Top
Page 1 of 13 1 2 3 ... 12 13 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks